package fanzhuan;
import java.util.Arrays;
//import  java.util.Scanner;
public class FanZhuan {

    public static void main(String[] args) {
        String s="You think you can";
       String[] words = s.split(" ");
       System.out.println(Arrays.toString(words));
       for(String word : words){
           StringBuffer buffer = new StringBuffer(word);
           System.out.print(buffer.reverse() + "  ");
       }
    }
}